package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnBusiEsi;
import com.tjmc.tiomscore.model.TranPtnBusiEsiExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnBusiEsiMapper {
    long countByExample(TranPtnBusiEsiExample example);

    int deleteByExample(TranPtnBusiEsiExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnBusiEsi record);

    int insertSelective(TranPtnBusiEsi record);

    List<TranPtnBusiEsi> selectByExample(TranPtnBusiEsiExample example);

    TranPtnBusiEsi selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnBusiEsi record, @Param("example") TranPtnBusiEsiExample example);

    int updateByExample(@Param("record") TranPtnBusiEsi record, @Param("example") TranPtnBusiEsiExample example);

    int updateByPrimaryKeySelective(TranPtnBusiEsi record);

    int updateByPrimaryKey(TranPtnBusiEsi record);
}